<!--
var takeover_header = "http://static.canalcaracol.com/images/caracol/caracolad.jpg"; 
var inIframe=false;var siW=self.innerWidth;var siH=self.innerHeight;var dE=document.documentElement;var dB=document.body;
var sw=(siW?siW:(dE && dE.clientWidth)?dE.clientWidth:dB?dB.clientWidth:"");
var sh=(siH?siH:(dE && dE.clientHeight)?dE.clientWidth:dB?dB.clientHeight:"");
var wh=(sw && sh) ? (sw.toString(16) + "x" + sh.toString(16)) : "";
var eplRnd=(new String(Math.random())).substring(2,8) + (((new Date()).getTime()) & 262143);
var ua=navigator.userAgent.toLowerCase();var av=navigator.appVersion.toLowerCase();
var eplB=new Object();eplB.is_mac=(ua.indexOf("mac")!=-1);
eplB.is_win=(!eplB.is_mac && ((ua.indexOf("win")!=-1)||(ua.indexOf("16bit")!=-1)));
var ieP=av.indexOf('msie');var ffP=ua.indexOf("firefox");eplB.is_o=(ua.indexOf("opera")!=-1);
eplB.is_ie=(ieP!=-1 && eplB.is_win && !eplB.is_o);eplB.is_ff=(ffP!=-1);
if (eplB.is_ie) { eplB.minV=parseFloat(av.substring(ieP+5,av.indexOf(';',ieP)));
eplB.majV=parseInt(eplB.minV);}
if (eplB.is_ff) { if (ua.length>ffP+8) eplB.majV=parseInt(ua.substring(ffP+8));
if (ua.length>ffP+10) eplB.minV=parseInt(ua.substring(ffP+10));}
eplB.ffOk=(eplB.is_ff&&((eplB.majV>=1&&eplB.minV>=5)||(eplB.majV>=2)));
eplB.ieOk=(eplB.is_ie&&eplB.minV>=5);var eplFV=0;var nmT=navigator.mimeTypes;
var eplFV=0; var nmT=navigator.mimeTypes; var swF='application/x-shockwave-flash';
var isWinIE = eplB.is_ie && eplB.is_win;
var fP=(nmT && nmT[swF])?nmT[swF].enabledPlugin:0; var fvT;
var cs=document.charset || document.characterSet;
if (fP) {
    var nP=navigator.plugins; var sf="Shockwave Flash";
    if (nP[sf]!=null) fvT=nP[sf].description;
} else if (isWinIE) {
    var e;
    try {
        var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
        axo.AllowScriptAccess="always"; fvT=axo.GetVariable("$version");
    } catch (e) {}
}
if (fvT) {
    var fvW=fvT.split(" ");
    for (var i=0;i<fvW.length;++i) {
        if (isNaN(parseInt(fvW[i]))) continue;
        eplFV=fvW[i];
    }
}

function eplADU(eID,t){    
    var wID = '46d7';
var adU = 'http://ads.us.e-planning.net/eb/3/'+wID+'/'+eID+'?o='+t+'&vf='+eplFV+'&rnd='+eplRnd+'&crs='+cs;
return adU;
}

function eplAD(eID,w,h) {
    if (w!=null && h!=null) {
                var adU = eplADU(eID,'f');
                document.write('<iframe id="'+eID+'_static" width="'+w+'" height="'+h+'" frameborder="0" scrolling="no" src="'+adU+'"></iframe>');
    } else {
                var adU = eplADU(eID,'j');
                var iDT='<html><head><title>Ad</title></head><body id="'+eID+'" leftmargin="0" topmargin="0" style="margin:0px; padding:0px">';
                iDT+='<div id="eplParentContainer' + eID + '"></div><scr'+'ipt type="text/javascript">var inIframe=true;</scr';
                iDT+='ipt> <scr'+'ipt type="text/javascript" src="'+adU+'"></scr';
                iDT+='ipt> <scr'+'ipt>setTimeout("document.close()", 8000); </scr'+'ipt></body></html>';
                if(eplB.ieOk){document.write('<iframe id="'+eID+'" src="about:blank" width="1" height="0" frameborder="0" scrolling="no"></iframe>');
                    document.frames[eID].document.write(iDT);
                } else if (eplB.ffOk) { document.write('<iframe id="'+eID+'" src="about:blank" width="1" height="0" frameborder="0" scrolling="no"></iframe>');
                    var i=document.getElementById(eID);if (i!=null) i.contentDocument.write(iDT);
                } else { document.write('<scr'+'ipt type="text/javascript" src="'+adU+'"></scr'+'ipt>');}
    }
}
//-->


<!--
// Paute Facil
var tipContene	= "eClassName";//"eId"
/*	Hasta aqui se debe editar	*/
//var eplArgs = {sV:"http://ads.us.e-planning.net/",vV:"4",sI:"5cf7",kC:"txtad",tipContene:div};
var eplAdsArray = new Array();

function eplPautefacil(adsArray) {
		var r = '<div>'; 
		a1=false; 
		for (var i=0; i<adsArray.length; i++) {
			var ad = adsArray[i];
			if (41==ad.t && !ad.shown) {
				if (i == adsArray.length-1){
					r+= '<div class="columna" style="border:none;">';
				}
				else{
					r+= '<div class="columna" >';
				}
				r+= '<h3><a href="'+ ad.lU +'" target="_blank">'+ ad.tit +'</a></h3>';
				if (ad.desc || ad.urlv) {
					if (ad.desc) r+= '<p><a href="'+ ad.lU +'" target="_blank">' + ad.desc + '</a></p>';
					if (ad.desc && ad.urlv) r+= '';
					if (ad.urlv) r+= '<h6><a href="'+ ad.lU +'" target="_blank">'+ ad.urlv +'</a></h6>';
				}
				r+= '</div>';
				ad.shown = true;                
			 }
		}
		r+= '</div>';
		return r;
}

function eplInit() {
	if (this.readyState == 'complete') {
			document.epl.eplInit(eplArgs);
			for (var i=0; i<eplAdsArray.length; i++) { document.epl.eplPushAd(eplAdsArray[i][0], eplAdsArray[i][1], eplAdsArray[i][2], eplAdsArray[i][3], eplAdsArray[i][4]); 
			}
	}
}
if (document.epl != undefined) {
	document.epl.eplInit(eplArgs);
} 
else {
	var array = document.getElementsByTagName('script');
	var e = undefined;
	for (var i=0; i<array.length; i++) {
			if (array[i].src.indexOf('epl-41.js') != -1) {
					e = array[i];
			}
	}
	if (e != undefined) { e.onreadystatechange = eplInit; }
}

function eplAD4(espacio_id, tipo, timeout, maxAds, custom) {
	document.write('<div id="eplAdDiv'+ espacio_id +'"></div>');
		if (document.epl != undefined) {
			document.epl.eplPushAd(espacio_id, tipo, timeout, maxAds);
		if (custom != undefined) {
			document.epl.setCustomAdShow(espacio_id, custom);
		}
	} 
	else {
		eplAdsArray.push(new Array(espacio_id, tipo, timeout, maxAds, custom));
	}
}

// -->
